package fast.calc;

import fast.data.Stat;
import fast.data.StatBlock;

public class Procs extends StatBlock {
//	public void reset() {
//		super();
//	}
	// dont call a class method instect reinitalize the proc with empty data
	
	public Procs scale(double uptime){
		Procs proc = new Procs();
		for(Stat stat : Stat.possibleStats){
			proc.setStat(stat, this.getStat(stat) * uptime );
		}
		return proc;
	}
	
	public Procs scale(double uptime, double scaling){
		Procs proc = new Procs();
		for(Stat stat : Stat.possibleStats){
			proc.setStat(stat, Math.round(this.getStat(stat) * scaling) * uptime );
		}
		return proc;
	}
}
